Back to Tutorials

Perl Scripting Quizzes

Test your Perl scripting knowledge with these interactive quizzes

Introduction to Perl

Test your understanding of Perl's history, basic syntax, script structure, and execution.

Variables and Data Types

Challenge yourself with questions on scalars, arrays, hashes, references, and typeglobs.

Operators

Evaluate your knowledge of arithmetic, string, logical, comparison, and file test operators.

Control Structures

Test your grasp of if/elsif/else, unless, for, foreach, while, until, and loop controls.

Subroutines

Assess your knowledge of defining, calling, passing arguments, and returning values from subroutines.

Regular Expressions

Challenge yourself with Perl's powerful pattern matching, substitutions, and regex operators.

File Handling

Test your skills in opening, reading from, writing to, and closing files using filehandles.

Built-in Functions

Evaluate your understanding of common Perl functions like print, chomp, split, join, map, grep.

Modules and Packages

Assess your knowledge of using CPAN modules, creating packages, and basic object-oriented concepts.

Advanced Concepts in Perl

Challenge yourself with topics like references, closures, exception handling, and more complex Perl features.